luci-app-keepalived: clean up translation
authorFlorian Eckert <[email protected]>
Fri, 14 Mar 2025 11:38:23 +0000 (12:38 +0100)
committerFlorian Eckert <[email protected]>
Fri, 14 Mar 2025 11:39:54 +0000 (12:39 +0100)
Signed-off-by: Florian Eckert <[email protected]>
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/ipaddress.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/peers.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/route.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/script.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/servers.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/track_interface.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_sync_group.js

index d633724e8da162e8bb3c0a91398c3d19dc88995b..3efeb46206744f3a5a48c4ca9f0bbda910c74024 100644 (file)
@@ -63,8 +63,9 @@ return view.extend({
                }
 
                s = m.section(form.GridSection, 'static_ipaddress', _('Static IP Addresses'),
-                       _('Static Addresses are not moved by vrrpd, they stay on the machine.') + '<br/>' +
-                       _('If your systems already have IPs and they can ping each other, you do not need this section'));
+                       _('Static Addresses are not moved by vrrpd, they stay on the machine.') + ' ' +
+                       _('If your systems already have IPs and they can ping ' +
+                         'each other, you do not need this section'));
                s.anonymous = true;
                s.addremove = true;
                s.nodescriptions = true;
index 33bd16139469960d3fa261fc3c9f045015ec4fb5..be90ad92da6917997dc480aee6d0dfbb16d032a9 100644 (file)
@@ -64,7 +64,8 @@ return view.extend({
                o.depends({ 'sync' : '1', 'sync_mode' : 'send' });
 
                o = s.option(form.Value, 'sync_dir', _('Sync Directory'),
-                       _('Sender will send files to this location of receiver. Must be same on Master/Backup'));
+                       _('Sender will send files to this location of receiver.') + ' ' +
+                       _('Must be same on Master/Backup'));
                o.default = '/usr/share/keepalived/rsync';
                o.optional = false;
                o.rmempty = false;
index d83c5543a69966597a87346e275645d0b1d3ec9e..2bb560483dd5c3e13a1a5ef1888fd7525bab1b37 100644 (file)
@@ -69,8 +69,9 @@ return view.extend({
                }
 
                s = m.section(form.GridSection, 'static_routes', _('Static Routes'),
-                       _('Static Routes are not moved by vrrpd, they stay on the machine.') + '<br/>' +                             
-                       _('If you already have routes on your machines and your machines can ping each other, you don\'t need this section'));
+                       _('Static Routes are not moved by vrrpd, they stay on the machine.') + '<br/>' +
+                       _('If you already have routes on your machines and ' +
+                         'your machines can ping each other, you don\'t need this section'));
                s.anonymous = true;
                s.addremove = true;
                s.nodescriptions = true;
index c92d48a3c13d80d427abddcc0e3d077567536c10..16a5572011f23847ca965868d14de8418931d13f 100644 (file)
@@ -54,7 +54,9 @@ return view.extend({
                var s, o;
 
                s = m.section(form.GridSection, 'vrrp_script', _('VRRP Script'),
-                       _('Adds a script to be executed periodically. Its exit code will be recorded for all VRRP instances and sync groups which are monitoring it'));
+                       _('Adds a script to be executed periodically.') + ' ' +
+                       _('Its exit code will be recorded for all VRRP ' +
+                         'instances and sync groups which are monitoring it'));
                s.anonymous = true;
                s.addremove = true;
                s.nodescriptions = true;
index 744a0f8aca6842341cc18fa0dc8877bcd67aff7b..55e6403a85ff68073a1ea092b9196cc5c4add3f5 100644 (file)
@@ -15,9 +15,11 @@ return view.extend({
                var real_servers;
 
                s = m.section(form.GridSection, 'virtual_server', _('Virtual Server'),
-                       _('A virtual server is a service configured to listen on a specific virtual IP.') + '<br/>' +
-                       _('A VIP address migrates from one LVS router to the other during a failover,') +
-                       _('thus maintaining a presence at that IP address'));
+                       _('A virtual server is a service configured to listen ' +
+                         'on a specific virtual IP.') + '<br/>' +
+                       _('A VIP address migrates from one LVS router to the ' +
+                         'other during a failover, thus maintaining a presence ' +
+                         'at that IP address'));
                s.anonymous = true;
                s.addremove = true;
                s.nodescriptions = true;
index 5330fb1451c58f0a1fcb92345b7b3783ed9d229a..ac19dc55be4d0c8dc7995a371a9196321a0ea19d 100644 (file)
@@ -26,8 +26,10 @@ return view.extend({
                o.optional = false;
 
                o = s.option(form.Value, 'weight', _('Weight'),
-                       _('When a weight is specified, instead of setting the vrrp_instance to the FAULT state in case of failure, ') +
-                       _('its priority will be increased or decreased by the weight when the interface is up or down'));
+                       _('When a weight is specified, instead of setting the' +
+                         'vrrp_instance to the FAULT state in case of failure, ' +
+                         'its priority will be increased or decreased by the ' +
+                         'weight when the interface is up or down'));
                o.optional = false;
                o.datatype = 'uinteger';
 
index 789f619525c496da1abbdc1f23d6f2260447b0aa..afadeaac771c3426c22b17f20c996f65804c42ef 100644 (file)
@@ -21,8 +21,9 @@ return view.extend({
                o.optional = false;
 
                o = s.taboption('general', form.ListValue, 'state', _('State'),
-                       _('Initial State. As soon as the other machine(s) come up,') +
-                       _('an election will be held and the machine with the highest "priority" will become MASTER.'));
+                       _('Initial State.') + ' ' +
+                       _('As soon as the other machine(s) come up, an election will be held.') + ' ' +
+                       _('The machine with the highest "priority" will become MASTER.'));
                o.value('MASTER', _('Master'));
                o.value('BACKUP', _('Backup'));
                o.optional = false;
@@ -61,8 +62,7 @@ return view.extend({
                o.value('60');
 
                o = s.taboption('general', form.Flag, 'nopreempt', _('Disable Preempt'),
-                       _('Allows the lower priority machine to maintain the master role,') +
-                       _('even when a higher priority machine comes back online.') + ' ' +
+                       _('Allows the lower priority machine to maintain the master role, even when a higher priority machine comes back online.') + ' ' +
                        _('For this to work, the initial state of this entry must be BACKUP.'));
                o.optional = true;
                o.default = false;
@@ -182,7 +182,7 @@ return view.extend({
                o.modalonly = true;
 
                o = s.taboption('advanced', form.Flag, 'vmac_xmit_base', _('Use VMAC Base'),
-                       _('Send/Recv VRRP messages from base interface instead of VMAC interfac'));
+                       _('Send/Recv VRRP messages from base interface instead of VMAC interface'));
                o.default = false;
                o.optional = true;
                o.modalonly = true;
@@ -244,7 +244,8 @@ return view.extend({
                scripts = uci.sections('keepalived', 'track_script');
 
                o = s.taboption('tracking', form.DynamicList, 'virtual_ipaddress_excluded', _('Exclude Virtual IP Address'),
-                       _('VRRP IP excluded from VRRP. For cases with large numbers (eg 200) of IPs on the same interface.') + ' ' +
+                       _('VRRP IP excluded from VRRP.') + ' ' +
+                       _('For cases with large numbers (eg 200) of IPs on the same interface.') + ' ' +
                        _('To decrease the number of packets sent in adverts, you can exclude most IPs from adverts.'));
                o.modalonly = true;
                if (ipaddress != '') {
index 0636ad54023409810f61e63bdc5a38aa1f992821..648cb7109bbb30814209b5d96411ebe5f21ce5e1 100644 (file)
@@ -23,9 +23,8 @@ return view.extend({
                m = new form.Map('keepalived');
 
                s = m.section(form.GridSection, 'vrrp_sync_group', _('VRRP synchronization group'),
-                       _('VRRP Sync Group is an extension to VRRP protocol.') + '<br/>' +
-                       _('The main goal is to define a bundle of VRRP instance to get synchronized together') + '<br/>' +
-                       _('so that transition of one instance will be reflected to others group members'));
+                       _('VRRP Sync Group is an extension to VRRP protocol.') + ' ' +
+                       _('The main goal is to define a bundle of VRRP instance to get synchronized together so that transition of one instance will be reflected to others group members'));
                s.anonymous = true;
                s.addremove = true;
                s.nodescriptions = true;